package com.jiangdong.eureka.consumer.controller;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("movie-service")
public interface FeignTest {

    @GetMapping("/test/{id}")
    String test(@PathVariable("id") String id);

}
